package com.ruoyi.hire.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

@Data
public class HireJob extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 职位名称
     */
    @Excel(name = "职位名称")
    private String name;

    /**
     * 查看次数
     */
    @Excel(name = "查看次数")
    private Long click;

    /**
     * 职位类别
     */
    @Excel(name = "职位类别")
    private String jobCategory;

    /**
     * 招聘人数
     */
    @Excel(name = "招聘人数")
    private Long count;

    /**
     * 薪资起点
     */
    @Excel(name = "薪资起点")
    private String salaryStart;

    /**
     * 薪资终点
     */
    @Excel(name = "薪资终点")
    private String salaryEnd;

    /**
     * 薪资是否面议
     */
    @Excel(name = "薪资是否面议")
    private Integer salaryIsFace;

    /**
     * 工作地点
     */
    @Excel(name = "工作地点")
    private String place;

    /**
     * 工作区域
     */
    @Excel(name = "工作区域")
    private String region;

    /**
     * 职位描述
     */
    @Excel(name = "职位描述")
    private String description;

    /**
     * 归属部门
     */
    @Excel(name = "归属部门")
    private String department;

    /**
     * 职位福利
     */
    @Excel(name = "职位福利")
    private String welfare;

    /**
     * 其它要求
     */
    @Excel(name = "其它要求")
    private String otherAsk;

    /**
     * 状态（-1回退,1正常,0待审核,2后台添加）
     */
    @Excel(name = "状态", readConverterExp = "-=1回退,1正常,0待审核,2后台添加")
    private Long status;

    /**
     * 回退意见
     */
    @Excel(name = "回退意见")
    private String backOpinion;

    /**
     * 所属单位
     */
    @Excel(name = "所属单位")
    private Long companyId;

    /**
     * 起始有效期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "起始有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expirationStartTime;

    /**
     * 结束有效期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expirationEndTime;

    /**
     * 审核时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkTime;

    /**
     * 提交时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submitTime;
}
